package com.yaoweigroup.community.config;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.yaoweigroup.community.R;
import com.yaoweigroup.community.enity.HomeIcon;

public class Constant {

	public static final String prf = "Community";
	
	public static final String DIR = "Community";
	public static Map<Integer, Integer> iconMap = new HashMap<Integer, Integer>();
	public static List<HomeIcon> defaultHomeList = new ArrayList<HomeIcon>();
	public static Map<String, String> checkMap = new HashMap<String, String>();
	static {

		iconMap.put(0, R.drawable.bm_jz);// 家政服务
		iconMap.put(1, R.drawable.bm_qcxl);// 汽车修理
		iconMap.put(2, R.drawable.bm_jyzd);// 加油站点
		iconMap.put(3, R.drawable.bm_ssgw);// 时尚购物
		iconMap.put(4, R.drawable.bm_yypx);// 教育培训
		iconMap.put(5, R.drawable.bm_zs);// 住宿餐饮
		iconMap.put(6, R.drawable.bm_dxyy);// 电信应用
		iconMap.put(7, R.drawable.bm_hncy);// 花虫鸟语
		iconMap.put(8, R.drawable.bm_yh);// 银行网点
		iconMap.put(9, R.drawable.bm_ydjs);// 娱乐健身
		iconMap.put(10, R.drawable.bm_fczj);// 房产中介
		iconMap.put(11, R.drawable.bm_cwwy);// 宠物瘟疫
		iconMap.put(12, R.drawable.bm_fj);// 废旧利用
		iconMap.put(13, R.drawable.bm_sg);// 绿色水果
		iconMap.put(14, R.drawable.bm_mr);// 美容保健
		iconMap.put(15, R.drawable.bm_cs);// 生活超市
		iconMap.put(16, R.drawable.bm_ss);// 送水服务
		iconMap.put(17, R.drawable.bm_wx);// 维修服务
		iconMap.put(18, R.drawable.bm_xy);// 洗衣服务
		iconMap.put(19, R.drawable.bm_xh);// 鲜花蛋糕
		iconMap.put(20, R.drawable.bm_xc);// 小吃外卖
		iconMap.put(21, R.drawable.bm_dxyy);// 电影喜剧
		iconMap.put(22, R.drawable.bm_yf);// 孕妇
		iconMap.put(23, R.drawable.bm_zh);// 装潢装饰
		iconMap.put(24, R.drawable.bm_yf);// 医院药房
		iconMap.put(25, R.drawable.bm_more);// 其它
		iconMap.put(26, R.drawable.bm_hncy);// 婚庆典礼

		HomeIcon home = new HomeIcon();
		home.setResId(R.drawable.home_anounce_icon);
		home.setTypeName("小区公告");
		home.setClassName("com.yaoweigroup.community.ui.home.AnnounceActivity");
		defaultHomeList.add(home);

		home = new HomeIcon();
		home.setResId(R.drawable.home_news_icon);
		home.setTypeName("社区新闻");
		home.setClassName("com.yaoweigroup.community.ui.home.NewsActivity");
		defaultHomeList.add(home);

		home = new HomeIcon();
		home.setResId(R.drawable.home_wt_icon);
		home.setTypeName("文体活动");
		home.setClassName("com.yaoweigroup.community.ui.home.WTActivity");
		defaultHomeList.add(home);

		home = new HomeIcon();
		home.setResId(R.drawable.home_wy_icon);
		home.setTypeName("在线维修");
		home.setClassName("com.yaoweigroup.community.ui.home.OnlineWyActivity");
		defaultHomeList.add(home);

		home = new HomeIcon();
		home.setResId(R.drawable.home_llq_icon);
		home.setTypeName("邻里圈");
		home.setClassName("com.yaoweigroup.community.ui.home.BBSMainActivity");
		defaultHomeList.add(home);

		home = new HomeIcon();
		home.setResId(R.drawable.home_group_icon);
		home.setTypeName("团购");
		home.setClassName("com.yaoweigroup.community.ui.home.GroupActivity");
		defaultHomeList.add(home);

		home = new HomeIcon();
		home.setResId(R.drawable.home_gj_icon);
		home.setTypeName("实时公交");
		home.setClassName("com.yaowei.bus.SplashActivity");
		defaultHomeList.add(home);

		home = new HomeIcon();
		home.setResId(R.drawable.home_evcard_icon);
		home.setTypeName("EVCARD");
		home.setClassName("com.yaoweigroup.community.ui.go.EvcardActivity");
		defaultHomeList.add(home);
		
		

		checkMap.put("bmd_t", "骨密度t值");
		checkMap.put("bmd_z", "骨密度z值");
		checkMap.put("bmi", "bmi值");
		checkMap.put("bmr", "代谢");
		checkMap.put("bo", "血氧");
		checkMap.put("chol", "胆固醇");
		checkMap.put("dbp", "舒张压");
		checkMap.put("fat", "脂肪");
		checkMap.put("fetalheart", "胎心");
		checkMap.put("glu", "血糖");
		checkMap.put("height", "身高");
		checkMap.put("hipline", "臀围");
		checkMap.put("pulse", "脉搏");
		checkMap.put("sbp", "收缩压");
		checkMap.put("ua", "尿酸");
		checkMap.put("waistline", "腰围");
		checkMap.put("water", "水分");
		checkMap.put("weight", "臀围");
		checkMap.put("whr", "腰臀比");

	}

}
